// ignore_for_file: deprecated_member_use

import 'package:flutter/material.dart';
import 'package:flutter_widget/custom/custom_appbar.dart';

// ignore: must_be_immutable
class ColumnPage extends StatelessWidget {
  String name;
  ColumnPage({Key? key, required this.name}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: CustomAppbar(name, Theme.of(context).primaryColor),
      body: SizedBox(
        height: 600,
        child: Row(
          //  textDirection:TextDecoration.rtl,
          mainAxisAlignment: MainAxisAlignment.spaceEvenly,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Container(
              color: Colors.red,
              width: 100,
              height: 60,
            ),
            Container(
              color: Colors.pink,
              width: 120,
              height: 60,
            ),
            Container(
              color: Theme.of(context).primaryColor,
              width: 120,
              height: 80,
            ),
          ],
        ),
      ),
    );
  }
}
